home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / tpega.zip / GPCLIP1.P < prev    next >
Text File  |  1986-01-11  |  1KB  |  18 lines

  1. {                                                                             }
  2. {       EGA Graphic Primitive for Turbo Pascal 3.01A, Version 10JAN86.        }
  3. {       (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518     }
  4. {                                                                             }
  5. {       Description: The single point clip and scale routine is not a true    }
  6. {       graphic primitive because in must be included with other code in a    }
  7. {       procedure (or function).  The variables X1,Y1 and OUTSIDE must be     }
  8. {       defined on the local stack and the window and viewport variables      }
  9. {       are global (include file WORLD.P).                                    }
  10. {                                                                             }
  11.  
  12.   inline
  13.     ($8B/$4E/<X1/$8B/$5E/<Y1/$3B/$0E/>GD_WD_X1/$72/$40/$3B/$0E/>GD_WD_X2/$77/
  14.      $3A/$3B/$1E/>GD_WD_Y1/$72/$34/$3B/$1E/>GD_WD_Y2/$77/$2E/$8B/$C1/$2B/$06/
  15.      >GD_WD_X1/$F7/$26/>GD_VW_X3/$F7/$36/>GD_WD_X3/$03/$06/>GD_VW_X1/$89/$46/
  16.      <X1/$8B/$C3/$2B/$06/>GD_WD_Y1/$F7/$26/>GD_VW_Y3/$F7/$36/>GD_WD_Y3/$03/$06/
  17.      >GD_VW_Y1/$89/$46/<Y1/$32/$C0/$EB/$02/$B0/$FF/$88/$46/<OUTSIDE);
  18.